<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
  
  <h:body>

    <ui:insert name="content" >
      <ui:include src="template.xhtml" />
    </ui:insert>

    <!-- container -->
    <div id="content">
      <div class="container">

        <!-- /.page-title -->
        <div id="page-title" class="clearfix">
          <ul class="breadcrumb">
            <li>
              <a href="../index.jsf">Home</a> <span class="divider">/</span>
            </li>
            <li>
              <li>Cadastros <span class="divider">/</span></li>
            </li>
            <li class="active">Tipo de Status Requerimento</li>
          </ul>
        </div> 
        <!-- /.page-title -->

        <div class="row">
          <h:form id="form">

            <!-- botoes -->
            <div class="span2">
              <h:panelGrid columns="1" style="width: 100%">  
                <h:commandButton value="Salvar" action="#{statusRequerimentoBean.salvar}"/>
                <h:commandButton value="Cancelar"  action="#{statusRequerimentoBean.cancelar}"/>
              </h:panelGrid>  
            </div>
            <!-- /botoes -->

            <!-- Campos de edição -->
            <div class="span10">
              <div id="horizontal" class="widget widget-form">
                <p:messages id="msgs"/> 
                <p:panel id="panel" header="Tipo de Regime" style="margin-bottom:10px;">  
                  <h:panelGrid columns="3">  
                    <h:outputLabel for="codigocliente" value="Código do cliente:*" />  
                    <p:inputText id="codigocliente" value="#{statusRequerimentoBean.statusRequerimento.cdStatusRequerimento}" required="true" label="Código do cliente"/>  
                    <p:message for="codigocliente" display="icon"/> 

                    <h:outputLabel for="descricao" value="Descrição:*" />  
                    <p:inputText id="descricao" value="#{statusRequerimentoBean.statusRequerimento.dsStatusRequerimento}" required="true" label="Descrição"/>  
                    <p:message for="descricao" display="icon"/> 
                  </h:panelGrid>  
                </p:panel>  
              </div>
            </div>
            <!-- /Campos de edição -->

          </h:form>
        </div>
      </div>
    </div>
  </h:body>
</html>
